package com.bean.vo;

import com.bean.entity.Classes;
import com.bean.entity.SubjectInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 学生成绩分布
 */

public class ScoreDistributionVo implements Serializable {
    private Integer id;
    private String scoreGrade;
    private Integer subjectId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date testTime;
    private Integer classesId;
    private Integer studentNum;
    private Integer schooleStuNum;
    private Double proportion;

    private SubjectInfo subjectInfo;
    private Classes classes;

    @Override
    public String toString() {
        return "ScoreDistributionVo{" +
                "id=" + id +
                ", scoreGrade='" + scoreGrade + '\'' +
                ", subjectId=" + subjectId +
                ", testTime=" + testTime +
                ", classesId=" + classesId +
                ", studentNum=" + studentNum +
                ", schooleStuNum=" + schooleStuNum +
                ", proportion=" + proportion +
                ", subjectInfo=" + subjectInfo +
                ", classes=" + classes +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getScoreGrade() {
        return scoreGrade;
    }

    public void setScoreGrade(String scoreGrade) {
        this.scoreGrade = scoreGrade;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Date getTestTime() {
        return testTime;
    }

    public void setTestTime(Date testTime) {
        this.testTime = testTime;
    }

    public Integer getClassesId() {
        return classesId;
    }

    public void setClassesId(Integer classesId) {
        this.classesId = classesId;
    }

    public Integer getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(Integer studentNum) {
        this.studentNum = studentNum;
    }

    public Integer getSchooleStuNum() {
        return schooleStuNum;
    }

    public void setSchooleStuNum(Integer schooleStuNum) {
        this.schooleStuNum = schooleStuNum;
    }

    public Double getProportion() {
        return proportion;
    }

    public void setProportion(Double proportion) {
        this.proportion = proportion;
    }

    public SubjectInfo getSubjectInfo() {
        return subjectInfo;
    }

    public void setSubjectInfo(SubjectInfo subjectInfo) {
        this.subjectInfo = subjectInfo;
    }

    public Classes getClasses() {
        return classes;
    }

    public void setClasses(Classes classes) {
        this.classes = classes;
    }
}
